using System;
using System.Collections;
using System.Collections.Generic;

using MemberMgr.Data.Base;

namespace MemberMgr.Data.BusinessObjects
{
    public partial class tProductInlog : BusinessBase<uint>
    {
        #region Declarations

		private decimal _insum = default(Decimal);
		private System.DateTime _intime = new DateTime();
		private uint _inmember = default(UInt32);
		
		private tProduct _tProduct = null;
		
		
		#endregion

        #region Constructors

        public tProductInlog() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_insum);
			sb.Append(_intime);
			sb.Append(_inmember);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual decimal Insum
        {
            get { return _insum; }
			set
			{
				OnInsumChanging();
				_insum = value;
				OnInsumChanged();
			}
        }
		partial void OnInsumChanging();
		partial void OnInsumChanged();
		
		public virtual System.DateTime Intime
        {
            get { return _intime; }
			set
			{
				OnIntimeChanging();
				_intime = value;
				OnIntimeChanged();
			}
        }
		partial void OnIntimeChanging();
		partial void OnIntimeChanged();
		
		public virtual uint Inmember
        {
            get { return _inmember; }
			set
			{
				OnInmemberChanging();
				_inmember = value;
				OnInmemberChanged();
			}
        }
		partial void OnInmemberChanging();
		partial void OnInmemberChanged();
		
		public virtual tProduct TProduct
        {
            get { return _tProduct; }
			set
			{
				OnTProductChanging();
				_tProduct = value;
				OnTProductChanged();
			}
        }
		partial void OnTProductChanging();
		partial void OnTProductChanged();
		
        #endregion
    }
}
